package test;

public class main {
    public static void main(String[] args) {
        try (ConnectionManager manager = new ConnectionManager()) {
            manager.performDatabaseOperation();
        }
        System.out.println("程序执行完毕");
        try {
            Thread.sleep(100);
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
        }
    }
}
